package me.jiatao.lifecycle.type1

import android.util.Log
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleOwner

class BasePresenter : IPresenter {
    override fun onCreate(owner: LifecycleOwner) {
        Log.i("***BasePresenter***", "onCreate")
    }

    override fun onDestroy(owner: LifecycleOwner) {
        Log.i("***BasePresenter***", "onDestroy")
    }

    override fun onLifecycleChanged(owner: LifecycleOwner, event: Lifecycle.Event) {
        Log.i("***BasePresenter***", "onLifecycleChanged--->$event")
    }
}